package com.javasm.service.MisMannageService.impl;


import com.javasm.dao.MisMannageDao.impl.AreaDaoImpl;
import com.javasm.entity.MisMannageEntity.AreaInfo;
import com.javasm.service.MisMannageService.AreaService;

import java.util.List;

/**
 * @author:JAVASM
 * @description:
 * @date:2022/5/23 14:31
 * @version:0.1
 * @since:jdk11
 */
public class AreaServiceImpl implements AreaService {

    @Override
    public String getAreaName(Integer queryAreaId) {
        return new AreaDaoImpl().getAreaName(queryAreaId);
    }

    @Override
    public List<AreaInfo> getAllArea(Integer queryAreaPid) {
        return new AreaDaoImpl().getAllArea(queryAreaPid);
    }
}
